package com.brs.model;

public class BookItem extends Book {
	private int barCode;
	private boolean isBorrowed;

	public int getBarCode() {
		return barCode;
	}

	public void setBarCode(int barCode) {
		this.barCode = barCode;
	}

	public boolean isBorrowed() {
		return isBorrowed;
	}

	public void setBorrowed(boolean isBorrowed) {
		this.isBorrowed = isBorrowed;
	}

	@Override
	public String toString() {
		return "BookItem [barCode=" + barCode + ", isBorrowed=" + isBorrowed + super.toString();
	}

}
